Skip to content

eclab: Add temperature resolution#247

Merged
PeterKraus merged 1 commit intodgbowl:mainfrom
g-kimbell:temp_res
Sep 15, 2025
Merged

eclab: Add temperature resolution#247
PeterKraus merged 1 commit intodgbowl:mainfrom
g-kimbell:temp_res

Conversation

@g-kimbell
Copy link
Contributor

Very small change - adds a temperature resolution to avoid a RunTimeError

The resolution is based of quantization error when measuring temperature with a BCS-815, and is far smaller than the statistical noise, which is more like 0.1°C, but I guess depends on the exact set up.

I would also be fine setting it to nan - maybe this should be the default if the unit isn't in the list?

@PeterKraus
Copy link
Contributor

Yeah, the uncertainties are in the process of an overhaul (#240) for the new major release, as I'm not happy with how they're stored and how inflexible they are at the moment.

This 1e-6 value is then the basically the analog to digital conversion? Is it absolute or relative?

@g-kimbell
Copy link
Contributor Author

Yes it's 1e6 is an absolute value in °C which is half the minimum step that can be measured. I'm not sure if it changes with temperature as we only have data at 25°C.

The real measurement is a voltage on a thermocouple, so the real error depends on that voltage reading and the voltage curve of the thermocouple, which I don't know.

@PeterKraus PeterKraus changed the title Add temperature resolution eclab: Add temperature resolution Sep 15, 2025
@PeterKraus PeterKraus merged commit ddb8659 into dgbowl:main Sep 15, 2025
12 checks passed
PeterKraus pushed a commit that referenced this pull request Oct 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants